package com.urbanski.clipboard.common.message;

import java.util.ArrayList;
import java.util.List;

public class ConnectMessage implements Message
{
	private static final long serialVersionUID = 1L;
	
	private List<JoinMessage> joins = new ArrayList<>();
	private List<CreateMessage> creates = new ArrayList<>();
	
	public void addJoin(JoinMessage join)
	{
		joins.add(join);
	}
	
	public void addCreate(CreateMessage create)
	{
		creates.add(create);
	}
	
	public List<JoinMessage> getJoins()
	{
		return joins;
	}
	
	public List<CreateMessage> getCreates()
	{
		return creates;
	}
}
